home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_RuntimeInstaller_mx_managers_SystemManager.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
4KB
|
75 lines
package
{
import flash.system.ApplicationDomain;
import mx.core.EmbeddedFontRegistry;
import mx.core.IFlexModule;
import mx.core.IFlexModuleFactory;
import mx.managers.SystemManager;
public class _RuntimeInstaller_mx_managers_SystemManager extends SystemManager implements IFlexModuleFactory
{
public function _RuntimeInstaller_mx_managers_SystemManager()
{
super();
}
override public function create(... rest) : Object
{
if(rest.length > 0 && !(rest[0] is String))
{
return super.create.apply(this,rest);
}
var _loc2_:String = rest.length == 0 ? "RuntimeInstaller" : String(rest[0]);
var _loc3_:Class = Class(getDefinitionByName(_loc2_));
if(!_loc3_)
{
return null;
}
var _loc4_:Object;
if((_loc4_ = new _loc3_()) is IFlexModule)
{
IFlexModule(_loc4_).moduleFactory = this;
}
if(rest.length == 0)
{
EmbeddedFontRegistry.registerFonts(this.info()["fonts"],this);
}
return _loc4_;
}
override public function info() : Object
{
return {
"applicationComplete":"onApplicationComplete()",
"compiledLocales":["en_US","de","es","fr","it","ja","ko","pt","ru","zh_Hans","zh_Hant","cs","nl","pl","sv","tr"],
"compiledResourceBundleNames":["CSS","EULA","RuntimeInstaller","collections","containers","controls","core","effects","skins","states","styles"],
"currentDomain":ApplicationDomain.currentDomain,
"fonts":{
"Myriad Pro":{
"regular":true,
"bold":false,
"italic":false,
"boldItalic":false
},
"Myriad Pro Bold":{
"regular":true,
"bold":false,
"italic":false,
"boldItalic":false
}
},
"height":"100%",
"horizontalScrollPolicy":"off",
"layout":"horizontal",
"mainClassName":"RuntimeInstaller",
"mixins":["_RuntimeInstaller_FlexInit","_macMinButtonStyle","_alertButtonStyleStyle","_ControlBarStyle","_ScrollBarStyle","_winMaxButtonStyle","_activeTabStyleStyle","_textAreaHScrollBarStyleStyle","_ToolTipStyle","_winCloseButtonStyle","_DragManagerStyle","_macCloseButtonStyle","_statusTextStyleStyle","_TextAreaStyle","_gripperSkinStyle","_comboDropdownStyle","_ListBaseStyle","_winRestoreButtonStyle","_HTMLStyle","_ProgressBarStyle","_textAreaVScrollBarStyleStyle","_ContainerStyle","_globalStyle","_linkButtonStyleStyle","_windowStatusStyle","_windowStylesStyle","_PanelStyle","_activeButtonStyleStyle","_ApplicationControlBarStyle","_errorTipStyle","_richTextEditorTextAreaStyleStyle","_todayStyleStyle","_CursorManagerStyle","_TextInputStyle","_dateFieldPopupStyle","_plainStyle","_dataGridStylesStyle","_winMinButtonStyle","_macMaxButtonStyle","_ApplicationStyle","_SWFLoaderStyle","_headerDateTextStyle","_ButtonStyle","_popUpMenuStyle","_titleTextStyleStyle","_swatchPanelTextFieldStyle","_opaquePanelStyle","_weekDayStyleStyle","_headerDragProxyStyleStyle","_EULAWatcherSetupUtil","_RuntimeInstallerWatcherSetupUtil","_InstalledAppItemRendererWatcherSetupUtil"],
"preinitialize":"onPreInitialize()",
"verticalScrollPolicy":"off",
"width":"100%"
};
}
}
}